.class public Lcom/jecelyin/editor/v2/ui/e;
.super Ljava/lang/Object;
.source "MenuManager.java"


# static fields
.field private static a:I

.field private static b:I

.field private static c:I


# direct methods
.method public constructor <init>(Lcom/jecelyin/editor/v2/ui/JeEditorActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a(Landroid/content/res/Resources;I)Landroid/graphics/drawable/Drawable;
    .locals 0

    .line 7
    invoke-virtual {p0, p1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p0

    .line 8
    sget p1, Lcom/jecelyin/editor/v2/ui/e;->c:I

    invoke-static {p0, p1}, Lcom/jecelyin/common/utils/a;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object p0

    return-object p0
.end method

.method public static a(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
    .locals 1

    .line 9
    sget v0, Lcom/jecelyin/editor/v2/ui/e;->c:I

    invoke-static {p0, v0}, Lcom/jecelyin/common/utils/a;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object p0

    return-object p0
.end method

.method public static a(Landroid/content/Context;)V
    .locals 5

    const/4 v0, 0x3

    new-array v0, v0, [I

    .line 1
    sget v1, Lcom/jecelyin/editor/v2/f;->je_toolbarIconNormalColor:I

    const/4 v2, 0x0

    aput v1, v0, v2

    sget v1, Lcom/jecelyin/editor/v2/f;->je_toolbarIconDisabledColor:I

    const/4 v3, 0x1

    aput v1, v0, v3

    sget v1, Lcom/jecelyin/editor/v2/f;->je_menuIconNormalColor:I

    const/4 v4, 0x2

    aput v1, v0, v4

    .line 2
    invoke-virtual {p0, v0}, Landroid/content/Context;->obtainStyledAttributes([I)Landroid/content/res/TypedArray;

    move-result-object p0

    .line 3
    invoke-virtual {p0, v2, v2}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v0

    sput v0, Lcom/jecelyin/editor/v2/ui/e;->a:I

    .line 4
    invoke-virtual {p0, v3, v2}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v0

    sput v0, Lcom/jecelyin/editor/v2/ui/e;->b:I

    .line 5
    invoke-virtual {p0, v4, v2}, Landroid/content/res/TypedArray;->getColor(II)I

    move-result v0

    sput v0, Lcom/jecelyin/editor/v2/ui/e;->c:I

    .line 6
    invoke-virtual {p0}, Landroid/content/res/TypedArray;->recycle()V

    return-void
.end method

.method public static b(Landroid/content/res/Resources;I)Landroid/graphics/drawable/Drawable;
    .locals 0

    .line 1
    invoke-virtual {p0, p1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p0

    .line 2
    sget p1, Lcom/jecelyin/editor/v2/ui/e;->a:I

    invoke-static {p0, p1}, Lcom/jecelyin/common/utils/a;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object p0

    return-object p0
.end method

.method public static b(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
    .locals 1

    .line 3
    sget v0, Lcom/jecelyin/editor/v2/ui/e;->b:I

    invoke-static {p0, v0}, Lcom/jecelyin/common/utils/a;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object p0

    return-object p0
.end method

.method public static c(Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
    .locals 1

    .line 1
    sget v0, Lcom/jecelyin/editor/v2/ui/e;->a:I

    invoke-static {p0, v0}, Lcom/jecelyin/common/utils/a;->a(Landroid/graphics/drawable/Drawable;I)Landroid/graphics/drawable/Drawable;

    move-result-object p0

    return-object p0
.end method
